import Request from '@/utils/request'

export const paymentManagementPageGet = data => {
    return Request({
        url: '/paymentManagement/page',
        method: 'post',
        data: data,
    })
}
export const paymentManagementListGet = data => {
    return Request({
        url: '/paymentManagement/list',
        method: 'post',
        data: data,
    })
}

export const paymentManagementDelete = id => {
    return Request({
        url: '/paymentManagement/delete/' + id,
        method: 'get',
    })
}

export const paymentManagementOne = id => {
    return Request({
        url: '/paymentManagement/one/' + id,
        method: 'get',
    })
}

export const paymentManagementUpdate = data => {
    return Request({
        url: '/paymentManagement/update',
        method: 'post',
        data: data
    })
}

export const paymentManagementAdd = data => {
    return Request({
        url: '/paymentManagement/save',
        method: 'post',
        data: data
    })
}
